package com.weiaibenpao.demo.chislim.hurui.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wlx on 2017/9/8.
 */

public class MyMarathonBean {

    /**
     * code : 0
     * msg : 成功
     * data : {"extra":{"totalSize":1,"size":20,"totalPage":1,"page":0},"marathonlist":[{"mContentImg":"http://otujji354.bkt.clouddn.com/1498661296518.jpg","number":111,"mStatus":"已结束","joinNumber":3,"marathonTitle":"环西湖个人马拉松","sportsStartTime":1497336631078,"detailUrl":"/malasong/detail.html","id":1,"type":7,"sportsEndTime":1498336631078}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * extra : {"totalSize":1,"size":20,"totalPage":1,"page":0}
         * marathonlist : [{"mContentImg":"http://otujji354.bkt.clouddn.com/1498661296518.jpg","number":111,"mStatus":"已结束","joinNumber":3,"marathonTitle":"环西湖个人马拉松","sportsStartTime":1497336631078,"detailUrl":"/malasong/detail.html","id":1,"type":7,"sportsEndTime":1498336631078}]
         */

        private ExtraBean extra;
        private List<MarathonlistBean> marathonlist;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public List<MarathonlistBean> getMarathonlist() {
            return marathonlist;
        }

        public void setMarathonlist(List<MarathonlistBean> marathonlist) {
            this.marathonlist = marathonlist;
        }

        public static class ExtraBean {
            /**
             * totalSize : 1
             * size : 20
             * totalPage : 1
             * page : 0
             */

            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class MarathonlistBean implements Serializable{
            /**
             * mContentImg : http://otujji354.bkt.clouddn.com/1498661296518.jpg
             * number : 111
             * mStatus : 已结束
             * joinNumber : 3
             * marathonTitle : 环西湖个人马拉松
             * sportsStartTime : 1497336631078
             * detailUrl : /malasong/detail.html
             * id : 1
             * type : 7
             * sportsEndTime : 1498336631078
             */

            private String mContentImg;
            private int number;
            private String mStatus;
            private int joinNumber;
            private String marathonTitle;
            private long sportsStartTime;
            private String detailUrl;
            private int id;
            private int type;
            private long sportsEndTime;
            private String mColor;

            public String getmColor() {
                return mColor;
            }

            public void setmColor(String mColor) {
                this.mColor = mColor;
            }

            public String getMContentImg() {
                return mContentImg;
            }

            public void setMContentImg(String mContentImg) {
                this.mContentImg = mContentImg;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getMStatus() {
                return mStatus;
            }

            public void setMStatus(String mStatus) {
                this.mStatus = mStatus;
            }

            public int getJoinNumber() {
                return joinNumber;
            }

            public void setJoinNumber(int joinNumber) {
                this.joinNumber = joinNumber;
            }

            public String getMarathonTitle() {
                return marathonTitle;
            }

            public void setMarathonTitle(String marathonTitle) {
                this.marathonTitle = marathonTitle;
            }

            public long getSportsStartTime() {
                return sportsStartTime;
            }

            public void setSportsStartTime(long sportsStartTime) {
                this.sportsStartTime = sportsStartTime;
            }

            public String getDetailUrl() {
                return detailUrl;
            }

            public void setDetailUrl(String detailUrl) {
                this.detailUrl = detailUrl;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public long getSportsEndTime() {
                return sportsEndTime;
            }

            public void setSportsEndTime(long sportsEndTime) {
                this.sportsEndTime = sportsEndTime;
            }
        }
    }
}
